﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Services;
using KPIS.GERP.GHRMS.IBLL;
using KPIS.GERP.GHRMS.BLL;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.APP.WebService
{
    /// <summary>
    /// Summary description for HRM_PS_Employees
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class HRM_PS_Employees : System.Web.Services.WebService
    {
        IEmployeeBLL empBLL = new EmployeeBLL();

        [WebMethod]
        public DataSet LoadEmployees(Nullable<int> Sequence, string emp_type_seq, bool bActive, string SearchText)
        {
            return empBLL.LoadEmployees(Sequence, emp_type_seq, bActive, SearchText);
        }
    }
}
